package IC.Parser;

public class SyntaxError extends Exception {
	
	public SyntaxError(String message, int line, String value) 
    {
    	this(String.valueOf(line) + ": Syntax error: " + message + " '" + value + "'");
    }
	
	public SyntaxError( int line, String message) 
    {
    	this(String.valueOf(line) + ": Syntax error: " + message);
    }
	
	public SyntaxError(String message)
	{
		super(message);
	}
}
